package com.xyzwps.ewa.plugins

import io.ktor.server.application.*
import io.ktor.server.plugins.openapi.*
import io.ktor.server.plugins.swagger.*
import io.ktor.server.response.*
import io.ktor.server.routing.*

fun Application.configureHTTP() {
    routing {
        openAPI(path = "internal/openapi")
        swaggerUI(path = "internal/swagger-ui", swaggerFile = "openapi/documentation.yaml")
    }
}
